package com.pan.download5.factory.builder;

import com.pan.download5.factory.DirectoryFactory;
import com.pan.download5.factory.PageFactory;

public class FactoryEntity {
    private DirectoryFactory directoryFactory;
    private PageFactory pageFactory;

    public FactoryEntity(DirectoryFactory directoryFactory, PageFactory pageFactory) {
        this.directoryFactory = directoryFactory;
        this.pageFactory = pageFactory;
    }

    public DirectoryFactory getDirectoryFactory() {
        return directoryFactory;
    }

    public PageFactory getPageFactory() {
        return pageFactory;
    }
}
